package main.resources.model.entity.moodle;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;


/**
 * The persistent class for the mdl_lesson database table.
 * 
 */
@Entity
@Table(name="mdl_lesson")
public class MdlLesson implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private BigInteger activitylink;

	private BigInteger available;

	private String bgcolor;

    @Lob()
	private String conditions;

	private BigInteger course;

	private int custom;

	private BigInteger deadline;

	private BigInteger dependency;

	private int displayleft;

	private int displayleftif;

	private int feedback;

	private int grade;

	private BigInteger height;

	private int highscores;

	private int maxanswers;

	private int maxattempts;

	private BigInteger maxhighscores;

	private int maxpages;

	private BigInteger maxtime;

	private int mediaclose;

	private String mediafile;

	private BigInteger mediaheight;

	private BigInteger mediawidth;

	private int minquestions;

	private int modattempts;

	private String name;

	private int nextpagedefault;

	private int ongoing;

	private String password;

	private int practice;

	private int progressbar;

	private int retake;

	private int review;

	private int slideshow;

	private int timed;

	private BigInteger timemodified;

	private int usemaxgrade;

	private int usepassword;

	private BigInteger width;

    public MdlLesson() {
    }

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigInteger getActivitylink() {
		return this.activitylink;
	}

	public void setActivitylink(BigInteger activitylink) {
		this.activitylink = activitylink;
	}

	public BigInteger getAvailable() {
		return this.available;
	}

	public void setAvailable(BigInteger available) {
		this.available = available;
	}

	public String getBgcolor() {
		return this.bgcolor;
	}

	public void setBgcolor(String bgcolor) {
		this.bgcolor = bgcolor;
	}

	public String getConditions() {
		return this.conditions;
	}

	public void setConditions(String conditions) {
		this.conditions = conditions;
	}

	public BigInteger getCourse() {
		return this.course;
	}

	public void setCourse(BigInteger course) {
		this.course = course;
	}

	public int getCustom() {
		return this.custom;
	}

	public void setCustom(int custom) {
		this.custom = custom;
	}

	public BigInteger getDeadline() {
		return this.deadline;
	}

	public void setDeadline(BigInteger deadline) {
		this.deadline = deadline;
	}

	public BigInteger getDependency() {
		return this.dependency;
	}

	public void setDependency(BigInteger dependency) {
		this.dependency = dependency;
	}

	public int getDisplayleft() {
		return this.displayleft;
	}

	public void setDisplayleft(int displayleft) {
		this.displayleft = displayleft;
	}

	public int getDisplayleftif() {
		return this.displayleftif;
	}

	public void setDisplayleftif(int displayleftif) {
		this.displayleftif = displayleftif;
	}

	public int getFeedback() {
		return this.feedback;
	}

	public void setFeedback(int feedback) {
		this.feedback = feedback;
	}

	public int getGrade() {
		return this.grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}

	public BigInteger getHeight() {
		return this.height;
	}

	public void setHeight(BigInteger height) {
		this.height = height;
	}

	public int getHighscores() {
		return this.highscores;
	}

	public void setHighscores(int highscores) {
		this.highscores = highscores;
	}

	public int getMaxanswers() {
		return this.maxanswers;
	}

	public void setMaxanswers(int maxanswers) {
		this.maxanswers = maxanswers;
	}

	public int getMaxattempts() {
		return this.maxattempts;
	}

	public void setMaxattempts(int maxattempts) {
		this.maxattempts = maxattempts;
	}

	public BigInteger getMaxhighscores() {
		return this.maxhighscores;
	}

	public void setMaxhighscores(BigInteger maxhighscores) {
		this.maxhighscores = maxhighscores;
	}

	public int getMaxpages() {
		return this.maxpages;
	}

	public void setMaxpages(int maxpages) {
		this.maxpages = maxpages;
	}

	public BigInteger getMaxtime() {
		return this.maxtime;
	}

	public void setMaxtime(BigInteger maxtime) {
		this.maxtime = maxtime;
	}

	public int getMediaclose() {
		return this.mediaclose;
	}

	public void setMediaclose(int mediaclose) {
		this.mediaclose = mediaclose;
	}

	public String getMediafile() {
		return this.mediafile;
	}

	public void setMediafile(String mediafile) {
		this.mediafile = mediafile;
	}

	public BigInteger getMediaheight() {
		return this.mediaheight;
	}

	public void setMediaheight(BigInteger mediaheight) {
		this.mediaheight = mediaheight;
	}

	public BigInteger getMediawidth() {
		return this.mediawidth;
	}

	public void setMediawidth(BigInteger mediawidth) {
		this.mediawidth = mediawidth;
	}

	public int getMinquestions() {
		return this.minquestions;
	}

	public void setMinquestions(int minquestions) {
		this.minquestions = minquestions;
	}

	public int getModattempts() {
		return this.modattempts;
	}

	public void setModattempts(int modattempts) {
		this.modattempts = modattempts;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getNextpagedefault() {
		return this.nextpagedefault;
	}

	public void setNextpagedefault(int nextpagedefault) {
		this.nextpagedefault = nextpagedefault;
	}

	public int getOngoing() {
		return this.ongoing;
	}

	public void setOngoing(int ongoing) {
		this.ongoing = ongoing;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getPractice() {
		return this.practice;
	}

	public void setPractice(int practice) {
		this.practice = practice;
	}

	public int getProgressbar() {
		return this.progressbar;
	}

	public void setProgressbar(int progressbar) {
		this.progressbar = progressbar;
	}

	public int getRetake() {
		return this.retake;
	}

	public void setRetake(int retake) {
		this.retake = retake;
	}

	public int getReview() {
		return this.review;
	}

	public void setReview(int review) {
		this.review = review;
	}

	public int getSlideshow() {
		return this.slideshow;
	}

	public void setSlideshow(int slideshow) {
		this.slideshow = slideshow;
	}

	public int getTimed() {
		return this.timed;
	}

	public void setTimed(int timed) {
		this.timed = timed;
	}

	public BigInteger getTimemodified() {
		return this.timemodified;
	}

	public void setTimemodified(BigInteger timemodified) {
		this.timemodified = timemodified;
	}

	public int getUsemaxgrade() {
		return this.usemaxgrade;
	}

	public void setUsemaxgrade(int usemaxgrade) {
		this.usemaxgrade = usemaxgrade;
	}

	public int getUsepassword() {
		return this.usepassword;
	}

	public void setUsepassword(int usepassword) {
		this.usepassword = usepassword;
	}

	public BigInteger getWidth() {
		return this.width;
	}

	public void setWidth(BigInteger width) {
		this.width = width;
	}

	public String toString() {
		return "{id: " + this.id + "; course: " + this.course + "; name: " + this.name + "}";
	}
	
}